package com.linuxgt.mobile.daoimpl;

import com.linuxgt.mobile.dao.Iweixin;

import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * Created with IntelliJ IDEA.
 * User: murong
 * Date: 14-2-26
 * Time: 下午2:51
 * To change this template use File | Settings | File Templates.
 */
@Path("/wx")
public class weixin implements Iweixin{


    @Override
    @GET
    @Produces(MediaType.TEXT_PLAIN)
    @Path("/get")
    public String doGet() {
        return "/wx/get";  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    @POST
    @Produces(MediaType.TEXT_PLAIN)
    @Path("/post")
    public String doPost() {
        return "/wx/post";  //To change body of implemented methods use File | Settings | File Templates.
    }
}
